package finance.asset.bank.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import finance.asset.bank.dao.BankDAOImpl;
import finance.asset.bank.domain.BankCust;

@Repository
public class BankServiceImpl implements BankService {
	@Autowired
	private BankDAOImpl bankDAO;
	
	public void setBankDAO(BankDAOImpl bankDAO){
		this.bankDAO = bankDAO;
	}

	public void insertAccount(BankCust bankCust) {
		bankDAO.insertAccount(bankCust);
		
	}
}
